package com.souku.finance.application.ui.mine;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;

import com.souku.finance.application.R;
import com.souku.finance.application.ui.login.RegisterActivity;
import com.souku.finance.application.base.BaseActivity;

/**
 * Created by Android on 2016/12/21.
 */

public class ExperienceTipActivity extends BaseActivity implements View.OnClickListener {

    protected Button btnBottom;
    protected Button btnTop;

    @Override
    public void internet() {

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        super.setContentView(R.layout.act_experiencetip);
        initView();
    }

    @Override
    public void onClick(View view) {
        if (view.getId() == R.id.btn_bottom) {
            Intent intent=new Intent(this, RegisterActivity.class);
            startActivity(intent);
            finish();
        } else if (view.getId() == R.id.btn_top) {
            finish();
        }
    }

    private void initView() {
        btnBottom = (Button) findViewById(R.id.btn_bottom);
        btnBottom.setOnClickListener(ExperienceTipActivity.this);
        btnTop = (Button) findViewById(R.id.btn_top);
        btnTop.setOnClickListener(ExperienceTipActivity.this);
    }
}
